package org.dromara.nursing.domain.bo;

import org.dromara.nursing.domain.MsEmergency;
import org.dromara.common.mybatis.core.domain.BaseEntity;
import org.dromara.common.core.validate.AddGroup;
import org.dromara.common.core.validate.EditGroup;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import lombok.EqualsAndHashCode;
import jakarta.validation.constraints.*;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;

/**
 * 紧急需求业务对象 ms_emergency
 *
 * @author Lion Li
 * @date 2025-04-23
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = MsEmergency.class, reverseConvertGenerate = false)
public class MsEmergencyBo extends BaseEntity {

    /**
     * ID
     */
    @NotNull(message = "ID不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 老人姓名
     */
    @NotBlank(message = "老人姓名不能为空", groups = { AddGroup.class, EditGroup.class })
    private String elderName;

    /**
     * 紧急类型
     */
    private String type;

    /**
     * 紧急程度
     */
    private String level;

    /**
     * 情况描述
     */
    private String description;

    /**
     * 发生地点
     */
    private String location;

    /**
     * 报告时间
     */
    private Date reportTime;

    /**
     * 报告人
     */
    private String reporter;

    /**
     * 响应时间
     */
    private Date responseTime;

    /**
     * 响应人
     */
    private String responder;

    /**
     * 采取的行动
     */
    private String action;

    /**
     * 是否需要医疗协助
     */
    private String medical;

    /**
     * 是否通知家属
     */
    private String notified;

    /**
     * 联系人姓名
     */
    private String contactName;

    /**
     * 解决时间
     */
    private Date resolveTime;

    /**
     * 后续跟进
     */
    private String followUp;

    /**
     * 备注
     */
    private String remarks;


}
